package com.wsoft.form.query.table;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotNull;

/**
 * @Author z001
 * @Date 2024/9/8 08:16
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class TableInsertQuery extends TableBaseQuery {

    @Schema(description = "关联类型")
    private Integer relationType;

    @Schema(description = "关联字段名")
    private String relationColumn;

    @NotNull
    @Schema(description = "是否创建实体表")
    private Integer isCreateTable;
}
